extends "../cTDR_2_1/cTDR_2_1.gd"
func _info():
	pass

func _connect():
	._connect()
var baseId = ""
func _extInit():
	._extInit()

	lv = 4
	attCoe.atk *=1.5
	attCoe.maxHp *= 1.5
	addCdSkill("hlj",5)
	addSkillTxt("撒毒：对攻击范围内所有敌人附加3层<毒>[cd:5秒]")

		
func _castCdSkill(id):
	._castCdSkill(id)
	if id == "hlj":
		cst("撒毒","000000",position)
		var chas = getAllChas(1)
		for i in chas:
			var x = abs(i.cell.x - cell.x)
			var y = abs(i.cell.y - cell.y)
			if x*x + y*y <= att.atkRan * att.atkRan:
				 i.addBuff(ctrl.b_d.new(3,exdmg + att.atk*0.33))
